package java基础知识.抽象类;

/**
 * @author coderFu
 * @create 2022/3/9
 */
public class CoderAbstractImpl extends CoderAbstract {


    public CoderAbstractImpl(String name, int age) {
        super(name, age);
    }

    @Override
    public void demo(String name, int age) {
        System.out.println("输入的名字为："+name);
        System.out.println("年龄为："+age);
    }

    public static void main(String[] args) {
        CoderAbstract coderAbstract = new CoderAbstractImpl("coder",23);
        coderAbstract.demo("coder",23);
    }
}
